package net.sk.china.city.utils;

public class PlatformIdHolder {
    public static final ThreadLocal<String> PLATFORM_HOLDER = new ThreadLocal<>();

    public static void setPlatformId(String platformId) {
        PLATFORM_HOLDER.set(platformId);
    }
    public static String getPlatformId() {
        return PLATFORM_HOLDER.get();
    }
    public static void clear() {
        PLATFORM_HOLDER.remove();
    }
}
